package com.qfedu.mbg.mapper;

import com.qfedu.mbg.model.SmsDepartment;
import com.qfedu.mbg.model.SmsDepartmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface SmsDepartmentMapper {
    int countByExample(SmsDepartmentExample example);

    int deleteByExample(SmsDepartmentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(SmsDepartment record);

    int insertSelective(SmsDepartment record);

    List<SmsDepartment> selectByExample(SmsDepartmentExample example);

    SmsDepartment selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") SmsDepartment record, @Param("example") SmsDepartmentExample example);

    int updateByExample(@Param("record") SmsDepartment record, @Param("example") SmsDepartmentExample example);

    int updateByPrimaryKeySelective(SmsDepartment record);

    int updateByPrimaryKey(SmsDepartment record);
}